//
//  HeaderView.h
//  ForengnMenu
//
//  Created by wenzhaoxu on 16/1/22.
//  Copyright © 2016年 余旺. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HeaderViewDelegate <NSObject>

- (void)selectAction:(NSInteger)index;

-(void)headImageViewAction;

-(void)praiseAction;

@end

@interface HeaderView : UIView

@property (weak , nonatomic)id <HeaderViewDelegate>delegate;

@property (strong, nonatomic)  UIView *myView;

@property (weak, nonatomic) IBOutlet UIImageView *headImageView;

@property (weak, nonatomic) IBOutlet UILabel *recipeName;

@property (weak, nonatomic) IBOutlet UILabel *recipeShow;

@property (weak, nonatomic) IBOutlet UILabel *cookingDifficulty;

@property (weak, nonatomic) IBOutlet UILabel *cookingTime;

@property (weak, nonatomic) IBOutlet UILabel *collectionTaste;

@property (weak, nonatomic) IBOutlet UILabel *praiseNumber;

@property (weak, nonatomic) IBOutlet UIButton *praiseBnt;

@property BOOL isOpen;

@end
